HipTextRenderer.draw

Implementation for unchanging text. The text will be saved, represented as an internal ID to a managed static HipText. Which means the texture will be baked so it is possible to actually draw it a lot faster as all the preprocessings are done once.

  1. void draw(string str, int x, int y, float scale, HipTextAlign align_, Size bounds, bool wordWrap)
    class HipTextRenderer
    void
    draw
    (
    string str
    ,
    int x
    ,
    int y
    ,
    float scale = 1
    ,
    HipTextAlign align_ = HipTextAlign.centerLeft
    ,
    Size bounds = Size.init
    ,
    bool wordWrap = false
    )
  2. void draw()

Meta